package com.sq.shortlink.admin.common.enums;

import com.sq.shortlink.admin.common.convension.errorcode.IErrorCode;

public enum UserErrorCodeEnum implements IErrorCode {

    USER_TOKEN_FAIL("A0002000","用户Token验证失败"),

    USER_NULL("B000200","用户记录不存在"),
    USER_EXIST("B000201","用户记录已存在");

    private final String code;
    private final String message;

    UserErrorCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return null;
    }

    @Override
    public String message() {
        return null;
    }
}
